package com.neusoft.chatserver.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author liuxp
 * @since 2021-07-14
 */
public class UserGroup implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "group_user_id", type = IdType.AUTO)
    private Integer groupUserId;

    private Integer groupId;

    private Integer userId;


    public Integer getGroupUserId() {
        return groupUserId;
    }

    public void setGroupUserId(Integer groupUserId) {
        this.groupUserId = groupUserId;
    }

    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "UserGroup{" +
        "groupUserId=" + groupUserId +
        ", groupId=" + groupId +
        ", userId=" + userId +
        "}";
    }
}
